<script setup>
import { defineProps } from 'vue';
const props = defineProps(["name"]);
const { name } = props;
const items = [
  { "title": "item 01" },
  { "title": "item 02" },
  { "title": "item 03" }
];
</script>
<template>
  <p>
    [{{ name }}]
  </p>
  <div v-for="(item, i) in items">
    <slot name="my-solt" :item="item" :idx="i"></slot>
  </div>
</template>